package com.bluejie.springBoot.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.persistence.Entity;

/**
 * Created by bluej on 2018-03-19.
 */
@Component
public class Demo {
    @Value("${bluej.value.title}")
    private String title;
    @Value("${bluej.value.description}")
    private String decription;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }
}
